/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Registro.java
 *
 * Created on 26/02/2011, 08:37:58 PM
 */

package Aplicacion;

import java.awt.Image;
import java.io.File;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileNameExtensionFilter;

/**
 *
 * @author Alberto
 */
public class Registro extends javax.swing.JFrame {

    /** Creates new form Registro */
    public Registro() {
        initComponents();
        jfc_cargafoto.setFileFilter(filter);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jP_miembro = new javax.swing.JPanel();
        jlb_n_membresia = new javax.swing.JLabel();
        jtf_n_membresia = new javax.swing.JTextField();
        jlb_t_miembro = new javax.swing.JLabel();
        jcb_t_miembro = new javax.swing.JComboBox();
        jlb_f_ingreso = new javax.swing.JLabel();
        jdc_f_ingreso = new com.toedter.calendar.JDateChooser();
        jbt_c_foto = new javax.swing.JButton();
        jtf_c_foto = new javax.swing.JTextField();
        jLB_Fotografia = new javax.swing.JLabel();
        jTP_Datos = new javax.swing.JTabbedPane();
        jP_d_personales = new javax.swing.JPanel();
        jlb_ap_paterno = new javax.swing.JLabel();
        jtf_ap_paterno = new javax.swing.JTextField();
        jlb_ap_materno = new javax.swing.JLabel();
        jtf_ap_materno = new javax.swing.JTextField();
        jlb_nombre = new javax.swing.JLabel();
        jtf_nombre = new javax.swing.JTextField();
        jlb_sexo = new javax.swing.JLabel();
        jcb_sexo = new javax.swing.JComboBox();
        jlb_e_civil = new javax.swing.JLabel();
        jcb_e_civil = new javax.swing.JComboBox();
        jlb_f_nac = new javax.swing.JLabel();
        jdc_f_nac = new com.toedter.calendar.JDateChooser();
        jS_1 = new javax.swing.JSeparator();
        jlb_depart = new javax.swing.JLabel();
        jtf_depart = new javax.swing.JTextField();
        jlb_prov = new javax.swing.JLabel();
        jtf_prov = new javax.swing.JTextField();
        jlb_distrito = new javax.swing.JLabel();
        jtf_distrito = new javax.swing.JTextField();
        jS_2 = new javax.swing.JSeparator();
        jlb_tel_casa = new javax.swing.JLabel();
        jtf_tel_casa = new javax.swing.JTextField();
        jlb_tel_tra = new javax.swing.JLabel();
        jtf_tel_tra = new javax.swing.JTextField();
        jlb_tel_movil = new javax.swing.JLabel();
        jtf_tel_movil = new javax.swing.JTextField();
        jlb_mail = new javax.swing.JLabel();
        jtf_mail = new javax.swing.JTextField();
        jSP_d_academicos = new javax.swing.JScrollPane();
        JP_Aux = new javax.swing.JPanel();
        jP_pregrado = new javax.swing.JPanel();
        jlb_fac = new javax.swing.JLabel();
        jtf_fac = new javax.swing.JTextField();
        jlb_cod = new javax.swing.JLabel();
        jtx_cod = new javax.swing.JTextField();
        jlb_escuela = new javax.swing.JLabel();
        jtf_escuela = new javax.swing.JTextField();
        jP_GradTit = new javax.swing.JPanel();
        jLabel97 = new javax.swing.JLabel();
        jTextField84 = new javax.swing.JTextField();
        jLabel94 = new javax.swing.JLabel();
        jTextField85 = new javax.swing.JTextField();
        jLabel95 = new javax.swing.JLabel();
        jTextField82 = new javax.swing.JTextField();
        jSeparator16 = new javax.swing.JSeparator();
        jLabel92 = new javax.swing.JLabel();
        jTextField83 = new javax.swing.JTextField();
        jLabel90 = new javax.swing.JLabel();
        jTextField81 = new javax.swing.JTextField();
        jLabel93 = new javax.swing.JLabel();
        jTextField79 = new javax.swing.JTextField();
        jSeparator13 = new javax.swing.JSeparator();
        jLabel89 = new javax.swing.JLabel();
        jTextField76 = new javax.swing.JTextField();
        jLabel91 = new javax.swing.JLabel();
        jTextField80 = new javax.swing.JTextField();
        jLabel85 = new javax.swing.JLabel();
        jTextField75 = new javax.swing.JTextField();
        jSeparator14 = new javax.swing.JSeparator();
        jLabel96 = new javax.swing.JLabel();
        jTextField86 = new javax.swing.JTextField();
        jLabel98 = new javax.swing.JLabel();
        jTextField88 = new javax.swing.JTextField();
        jLabel99 = new javax.swing.JLabel();
        jTextField87 = new javax.swing.JTextField();
        jSeparator17 = new javax.swing.JSeparator();
        jLabel87 = new javax.swing.JLabel();
        jTextField77 = new javax.swing.JTextField();
        jLabel86 = new javax.swing.JLabel();
        jTextField78 = new javax.swing.JTextField();
        jLabel88 = new javax.swing.JLabel();
        jTextField89 = new javax.swing.JTextField();
        jP_d_lalorales = new javax.swing.JPanel();
        jLabel43 = new javax.swing.JLabel();
        jTextField1 = new javax.swing.JTextField();
        jLabel44 = new javax.swing.JLabel();
        jTextField33 = new javax.swing.JTextField();
        jLabel45 = new javax.swing.JLabel();
        jDateChooser5 = new com.toedter.calendar.JDateChooser();
        jlb_fecha_act = new javax.swing.JLabel();
        jbt_actualizar = new javax.swing.JButton();
        jbt_salvar = new javax.swing.JButton();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        jMenuItem2 = new javax.swing.JMenuItem();
        jMenu3 = new javax.swing.JMenu();
        jMenuItem3 = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        jMenuItem1 = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Registro CEIIEE");

        jP_miembro.setBorder(javax.swing.BorderFactory.createTitledBorder("MIEMBRO"));

        jlb_n_membresia.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_n_membresia.setText(" Nº de Membresía");

        jlb_t_miembro.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_t_miembro.setText("Tipo de Miembro");

        jcb_t_miembro.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Pleno", "Fundador" }));
        jcb_t_miembro.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jcb_t_miembroActionPerformed(evt);
            }
        });

        jlb_f_ingreso.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_f_ingreso.setText("Fecha de Ingreso");

        jbt_c_foto.setText("Cargar Fotografía");
        jbt_c_foto.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_c_fotoActionPerformed(evt);
            }
        });

        jLB_Fotografia.setBackground(new java.awt.Color(255, 255, 255));
        jLB_Fotografia.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLB_Fotografia.setAutoscrolls(true);
        jLB_Fotografia.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        javax.swing.GroupLayout jP_miembroLayout = new javax.swing.GroupLayout(jP_miembro);
        jP_miembro.setLayout(jP_miembroLayout);
        jP_miembroLayout.setHorizontalGroup(
            jP_miembroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_miembroLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jP_miembroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jlb_f_ingreso)
                    .addComponent(jlb_n_membresia)
                    .addComponent(jbt_c_foto))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_miembroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jP_miembroLayout.createSequentialGroup()
                        .addGroup(jP_miembroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jdc_f_ingreso, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jtf_n_membresia, javax.swing.GroupLayout.PREFERRED_SIZE, 167, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jlb_t_miembro)
                        .addGap(18, 18, 18)
                        .addComponent(jcb_t_miembro, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jtf_c_foto))
                .addGap(89, 89, 89)
                .addComponent(jLB_Fotografia, javax.swing.GroupLayout.PREFERRED_SIZE, 119, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(46, 46, 46))
        );
        jP_miembroLayout.setVerticalGroup(
            jP_miembroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_miembroLayout.createSequentialGroup()
                .addGroup(jP_miembroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_miembroLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jP_miembroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jlb_n_membresia)
                            .addComponent(jlb_t_miembro)
                            .addComponent(jcb_t_miembro, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jtf_n_membresia, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jP_miembroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jlb_f_ingreso)
                            .addComponent(jdc_f_ingreso, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(21, 21, 21)
                        .addGroup(jP_miembroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jtf_c_foto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jbt_c_foto)))
                    .addComponent(jLB_Fotografia, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(20, Short.MAX_VALUE))
        );

        jlb_ap_paterno.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_ap_paterno.setText("Apellido Paterno");

        jlb_ap_materno.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_ap_materno.setText("Apellido Materno");

        jlb_nombre.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_nombre.setText("Nombres");

        jlb_sexo.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_sexo.setText("Sexo");

        jcb_sexo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Masculino", "Femenino" }));

        jlb_e_civil.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_e_civil.setText("Estado Civil");

        jcb_e_civil.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Soltero(a)", "Casado", "Viudo(a)", "Divorciado(a)", "Conviviente" }));

        jlb_f_nac.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_f_nac.setText("Fecha de Nacimiento");

        jlb_depart.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_depart.setText("Departamento");

        jlb_prov.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_prov.setText("Provincia");

        jlb_distrito.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_distrito.setText("Distrito");

        jlb_tel_casa.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_tel_casa.setText("Teléfono Casa");

        jlb_tel_tra.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_tel_tra.setText("Teléfono Trabajo");

        jlb_tel_movil.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_tel_movil.setText("Teléfono Movil");

        jlb_mail.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_mail.setText("E-Mail");

        javax.swing.GroupLayout jP_d_personalesLayout = new javax.swing.GroupLayout(jP_d_personales);
        jP_d_personales.setLayout(jP_d_personalesLayout);
        jP_d_personalesLayout.setHorizontalGroup(
            jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_d_personalesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jlb_prov)
                    .addGroup(jP_d_personalesLayout.createSequentialGroup()
                        .addComponent(jlb_mail)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 691, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_d_personalesLayout.createSequentialGroup()
                        .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jS_1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 725, Short.MAX_VALUE)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jP_d_personalesLayout.createSequentialGroup()
                                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addGroup(jP_d_personalesLayout.createSequentialGroup()
                                        .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jlb_nombre)
                                            .addComponent(jlb_ap_paterno)
                                            .addComponent(jlb_sexo))
                                        .addGap(27, 27, 27))
                                    .addGroup(jP_d_personalesLayout.createSequentialGroup()
                                        .addComponent(jlb_f_nac)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
                                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jtf_nombre, javax.swing.GroupLayout.PREFERRED_SIZE, 206, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jP_d_personalesLayout.createSequentialGroup()
                                            .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(jtf_ap_paterno, javax.swing.GroupLayout.PREFERRED_SIZE, 206, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addComponent(jcb_sexo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                            .addGap(45, 45, 45)
                                            .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(jlb_ap_materno)
                                                .addComponent(jlb_e_civil))
                                            .addGap(30, 30, 30)
                                            .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addGroup(jP_d_personalesLayout.createSequentialGroup()
                                                    .addComponent(jcb_e_civil, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addGap(114, 114, 114))
                                                .addComponent(jtf_ap_materno, javax.swing.GroupLayout.DEFAULT_SIZE, 228, Short.MAX_VALUE)))
                                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jP_d_personalesLayout.createSequentialGroup()
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(jdc_f_nac, javax.swing.GroupLayout.PREFERRED_SIZE, 208, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addComponent(jtf_prov, javax.swing.GroupLayout.PREFERRED_SIZE, 203, javax.swing.GroupLayout.PREFERRED_SIZE))
                                            .addGap(38, 38, 38)
                                            .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(jlb_distrito)
                                                .addComponent(jlb_depart))
                                            .addGap(18, 18, 18)
                                            .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                                .addComponent(jtf_distrito, javax.swing.GroupLayout.DEFAULT_SIZE, 258, Short.MAX_VALUE)
                                                .addComponent(jtf_depart, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 258, Short.MAX_VALUE))))))
                            .addComponent(jS_2, javax.swing.GroupLayout.DEFAULT_SIZE, 725, Short.MAX_VALUE)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jP_d_personalesLayout.createSequentialGroup()
                                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jlb_tel_casa)
                                    .addComponent(jlb_tel_movil))
                                .addGap(38, 38, 38)
                                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jP_d_personalesLayout.createSequentialGroup()
                                        .addComponent(jtf_tel_casa, javax.swing.GroupLayout.PREFERRED_SIZE, 203, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(43, 43, 43)
                                        .addComponent(jlb_tel_tra)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addComponent(jtf_tel_tra, javax.swing.GroupLayout.DEFAULT_SIZE, 253, Short.MAX_VALUE))
                                    .addGroup(jP_d_personalesLayout.createSequentialGroup()
                                        .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jtf_tel_movil, javax.swing.GroupLayout.PREFERRED_SIZE, 203, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jtf_mail, javax.swing.GroupLayout.PREFERRED_SIZE, 203, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 402, Short.MAX_VALUE)))))
                        .addGap(61, 61, 61)))
                .addContainerGap())
        );
        jP_d_personalesLayout.setVerticalGroup(
            jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_d_personalesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jtf_ap_paterno, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jlb_ap_paterno)
                    .addComponent(jlb_ap_materno)
                    .addComponent(jtf_ap_materno, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jlb_nombre)
                    .addComponent(jtf_nombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jlb_sexo)
                    .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jcb_sexo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jlb_e_civil)
                        .addComponent(jcb_e_civil, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(14, 14, 14)
                .addComponent(jS_1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jlb_f_nac)
                    .addComponent(jdc_f_nac, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jlb_depart)
                        .addComponent(jtf_depart, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jlb_prov)
                    .addComponent(jtf_prov, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jlb_distrito)
                    .addComponent(jtf_distrito, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(jS_2, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jlb_tel_casa)
                    .addComponent(jtf_tel_casa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jlb_tel_tra)
                    .addComponent(jtf_tel_tra, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jlb_tel_movil)
                    .addComponent(jtf_tel_movil, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_d_personalesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jlb_mail)
                    .addComponent(jtf_mail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(90, Short.MAX_VALUE))
        );

        jTP_Datos.addTab("DATOS PERSONALES", jP_d_personales);

        jSP_d_academicos.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
        jSP_d_academicos.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);

        jP_pregrado.setBorder(javax.swing.BorderFactory.createTitledBorder("Pregrado"));
        jP_pregrado.setPreferredSize(new java.awt.Dimension(751, 100));

        jlb_fac.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_fac.setText("Facultad");

        jlb_cod.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_cod.setText("Código");

        jlb_escuela.setFont(new java.awt.Font("Tahoma", 1, 11));
        jlb_escuela.setText("Escuela");

        javax.swing.GroupLayout jP_pregradoLayout = new javax.swing.GroupLayout(jP_pregrado);
        jP_pregrado.setLayout(jP_pregradoLayout);
        jP_pregradoLayout.setHorizontalGroup(
            jP_pregradoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_pregradoLayout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addGroup(jP_pregradoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jlb_escuela)
                    .addComponent(jlb_fac))
                .addGap(18, 18, 18)
                .addGroup(jP_pregradoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jtf_escuela)
                    .addComponent(jtf_fac, javax.swing.GroupLayout.PREFERRED_SIZE, 343, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(27, 27, 27)
                .addComponent(jlb_cod)
                .addGap(18, 18, 18)
                .addComponent(jtx_cod, javax.swing.GroupLayout.DEFAULT_SIZE, 199, Short.MAX_VALUE)
                .addGap(35, 35, 35))
        );
        jP_pregradoLayout.setVerticalGroup(
            jP_pregradoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_pregradoLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jP_pregradoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jtf_fac, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jlb_fac)
                    .addComponent(jlb_cod)
                    .addComponent(jtx_cod, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_pregradoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jtf_escuela, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jlb_escuela))
                .addContainerGap())
        );

        jP_GradTit.setBorder(javax.swing.BorderFactory.createTitledBorder("Grados y Títulos"));

        jLabel97.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel97.setText("Grado de Bachiller en: ");

        jLabel94.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel94.setText("Obtenido en la:");

        jLabel95.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel95.setText("En el año:");

        jLabel92.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel92.setText("Título Profesional");

        jLabel90.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel90.setText("Obtenido en la:");

        jLabel93.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel93.setText("En el año:");

        jLabel89.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel89.setText("Postgrado");

        jLabel91.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel91.setText("Obtenido en la:");

        jLabel85.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel85.setText("En el año:");

        jLabel96.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel96.setText("Otros Estudios");

        jLabel98.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel98.setText("Obtenido en la:");

        jLabel99.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel99.setText("En el año:");

        jLabel87.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel87.setText("Otros Estudios");

        jLabel86.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel86.setText("Obtenido en la:");

        jLabel88.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel88.setText("En el año:");

        javax.swing.GroupLayout jP_GradTitLayout = new javax.swing.GroupLayout(jP_GradTit);
        jP_GradTit.setLayout(jP_GradTitLayout);
        jP_GradTitLayout.setHorizontalGroup(
            jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_GradTitLayout.createSequentialGroup()
                .addGap(26, 26, 26)
                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_GradTitLayout.createSequentialGroup()
                        .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jSeparator16, javax.swing.GroupLayout.DEFAULT_SIZE, 691, Short.MAX_VALUE)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_GradTitLayout.createSequentialGroup()
                                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel97)
                                    .addComponent(jLabel94))
                                .addGap(18, 18, 18)
                                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jP_GradTitLayout.createSequentialGroup()
                                        .addComponent(jTextField85, javax.swing.GroupLayout.PREFERRED_SIZE, 263, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 52, Short.MAX_VALUE)
                                        .addComponent(jLabel95)
                                        .addGap(18, 18, 18)
                                        .addComponent(jTextField82, javax.swing.GroupLayout.PREFERRED_SIZE, 162, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(jTextField84, javax.swing.GroupLayout.DEFAULT_SIZE, 548, Short.MAX_VALUE)))
                            .addGroup(jP_GradTitLayout.createSequentialGroup()
                                .addComponent(jLabel92)
                                .addGap(45, 45, 45)
                                .addComponent(jTextField83, javax.swing.GroupLayout.DEFAULT_SIZE, 548, Short.MAX_VALUE)))
                        .addGap(1, 1, 1))
                    .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(jSeparator13, javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jP_GradTitLayout.createSequentialGroup()
                            .addComponent(jLabel90)
                            .addGap(59, 59, 59)
                            .addComponent(jTextField81, javax.swing.GroupLayout.PREFERRED_SIZE, 263, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(54, 54, 54)
                            .addComponent(jLabel93)
                            .addGap(18, 18, 18)
                            .addComponent(jTextField79, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(jSeparator14, javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jP_GradTitLayout.createSequentialGroup()
                            .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabel91)
                                .addComponent(jLabel89))
                            .addGap(59, 59, 59)
                            .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addGroup(jP_GradTitLayout.createSequentialGroup()
                                    .addComponent(jTextField76)
                                    .addGap(1, 1, 1))
                                .addGroup(jP_GradTitLayout.createSequentialGroup()
                                    .addComponent(jTextField80, javax.swing.GroupLayout.PREFERRED_SIZE, 263, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGap(55, 55, 55)
                                    .addComponent(jLabel85)
                                    .addGap(18, 18, 18)
                                    .addComponent(jTextField75, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jP_GradTitLayout.createSequentialGroup()
                        .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel98)
                            .addComponent(jLabel96))
                        .addGap(59, 59, 59)
                        .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jP_GradTitLayout.createSequentialGroup()
                                .addComponent(jTextField86)
                                .addGap(1, 1, 1))
                            .addGroup(jP_GradTitLayout.createSequentialGroup()
                                .addComponent(jTextField88, javax.swing.GroupLayout.PREFERRED_SIZE, 263, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(55, 55, 55)
                                .addComponent(jLabel99)
                                .addGap(18, 18, 18)
                                .addComponent(jTextField87, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(jP_GradTitLayout.createSequentialGroup()
                        .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel86)
                            .addComponent(jLabel87))
                        .addGap(59, 59, 59)
                        .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jP_GradTitLayout.createSequentialGroup()
                                .addComponent(jTextField77)
                                .addGap(1, 1, 1))
                            .addGroup(jP_GradTitLayout.createSequentialGroup()
                                .addComponent(jTextField78, javax.swing.GroupLayout.PREFERRED_SIZE, 263, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(55, 55, 55)
                                .addComponent(jLabel88)
                                .addGap(18, 18, 18)
                                .addComponent(jTextField89, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addComponent(jSeparator17, javax.swing.GroupLayout.DEFAULT_SIZE, 692, Short.MAX_VALUE))
                .addGap(33, 33, 33))
        );
        jP_GradTitLayout.setVerticalGroup(
            jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_GradTitLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField84, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel97))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField85, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel94)
                    .addComponent(jLabel95)
                    .addComponent(jTextField82, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(23, 23, 23)
                .addComponent(jSeparator16, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField83, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel92))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField81, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel90)
                    .addComponent(jTextField79, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel93))
                .addGap(18, 18, 18)
                .addComponent(jSeparator13, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField76, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel89))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField80, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel91)
                    .addComponent(jTextField75, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel85))
                .addGap(18, 18, 18)
                .addComponent(jSeparator14, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField86, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel96))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField88, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel98)
                    .addComponent(jTextField87, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel99))
                .addGap(18, 18, 18)
                .addComponent(jSeparator17, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField77, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel87))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_GradTitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField78, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel86)
                    .addComponent(jTextField89, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel88))
                .addContainerGap())
        );

        javax.swing.GroupLayout JP_AuxLayout = new javax.swing.GroupLayout(JP_Aux);
        JP_Aux.setLayout(JP_AuxLayout);
        JP_AuxLayout.setHorizontalGroup(
            JP_AuxLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_AuxLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(JP_AuxLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jP_GradTit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jP_pregrado, javax.swing.GroupLayout.PREFERRED_SIZE, 763, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        JP_AuxLayout.setVerticalGroup(
            JP_AuxLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_AuxLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jP_pregrado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jP_GradTit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jSP_d_academicos.setViewportView(JP_Aux);

        jTP_Datos.addTab("DATOS ACADÉMICOS", jSP_d_academicos);

        jLabel43.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel43.setText("Institución:");

        jLabel44.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel44.setText("Cargo:");

        jLabel45.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel45.setText("Desde:");

        javax.swing.GroupLayout jP_d_laloralesLayout = new javax.swing.GroupLayout(jP_d_lalorales);
        jP_d_lalorales.setLayout(jP_d_laloralesLayout);
        jP_d_laloralesLayout.setHorizontalGroup(
            jP_d_laloralesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_d_laloralesLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(jP_d_laloralesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel44)
                    .addComponent(jLabel43)
                    .addGroup(jP_d_laloralesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jP_d_laloralesLayout.createSequentialGroup()
                            .addComponent(jTextField33, javax.swing.GroupLayout.PREFERRED_SIZE, 448, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(18, 18, 18)
                            .addComponent(jLabel45)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jDateChooser5, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addComponent(jTextField1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 744, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(32, Short.MAX_VALUE))
        );
        jP_d_laloralesLayout.setVerticalGroup(
            jP_d_laloralesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_d_laloralesLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel43)
                .addGap(11, 11, 11)
                .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel44)
                .addGap(11, 11, 11)
                .addGroup(jP_d_laloralesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jTextField33, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jP_d_laloralesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(jDateChooser5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel45)))
                .addContainerGap(258, Short.MAX_VALUE))
        );

        jTP_Datos.addTab("DATOS LABORALES", jP_d_lalorales);

        jlb_fecha_act.setText("Actualizado el: __/__/__/");

        jbt_actualizar.setText("Actualizar");
        jbt_actualizar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_actualizarActionPerformed(evt);
            }
        });

        jbt_salvar.setText("Salvar");

        jMenu1.setText("Archivo");

        jMenuItem2.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F4, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem2.setText("Salir");
        jMenu1.add(jMenuItem2);

        jMenuBar1.add(jMenu1);

        jMenu3.setText("Editar");

        jMenuItem3.setText("Limpiar Campos");
        jMenu3.add(jMenuItem3);

        jMenuBar1.add(jMenu3);

        jMenu2.setText("Herramientas");

        jMenuItem1.setText("Configuracion");
        jMenu2.add(jMenuItem1);

        jMenuBar1.add(jMenu2);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jP_miembro, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 801, Short.MAX_VALUE)
                    .addComponent(jTP_Datos, javax.swing.GroupLayout.DEFAULT_SIZE, 801, Short.MAX_VALUE)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addComponent(jlb_fecha_act)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 496, Short.MAX_VALUE)
                        .addComponent(jbt_actualizar)
                        .addGap(18, 18, 18)
                        .addComponent(jbt_salvar, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jP_miembro, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jTP_Datos, javax.swing.GroupLayout.PREFERRED_SIZE, 398, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 110, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jlb_fecha_act)
                    .addComponent(jbt_salvar)
                    .addComponent(jbt_actualizar))
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jcb_t_miembroActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcb_t_miembroActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jcb_t_miembroActionPerformed

    private void jbt_actualizarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_actualizarActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jbt_actualizarActionPerformed

    private void jbt_c_fotoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_c_fotoActionPerformed
        // TODO add your handling code here:
        int seleccion = jfc_cargafoto.showOpenDialog(null);
        if (seleccion == JFileChooser.APPROVE_OPTION) {
            File fotografia = jfc_cargafoto.getSelectedFile();
            String ruta=fotografia.getPath();
            String archivo=fotografia.getName().toLowerCase();


            if (archivo.endsWith("jpg") | archivo.endsWith("jpeg") | archivo.endsWith("png") | archivo.endsWith("gif")) {
                ImageIcon thumbnail;
                if (fotografia == null) {
                    thumbnail = null;
                } else {
                    ImageIcon tmpIcon = new ImageIcon(ruta);
                    if (tmpIcon.getIconWidth() > 90) {
                        thumbnail = new ImageIcon(tmpIcon.getImage().getScaledInstance(120, 136, Image.SCALE_DEFAULT));
                    } else {
                        thumbnail = tmpIcon;
                    }
                }

                Icon iconFoto = (Icon) thumbnail;
                jLB_Fotografia.setIcon(iconFoto);
                // jbn_c_foto.setIcon(iconFoto);
                jtf_c_foto.setText(fotografia.getParent() + "\\" + fotografia.getName());
            }
        }

    }//GEN-LAST:event_jbt_c_fotoActionPerformed



    /**
    * @param args the command line arguments
    */
    
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Registro().setVisible(true);
            }
        });
    }
    private JFileChooser jfc_cargafoto = new JFileChooser();
    FileNameExtensionFilter filter = new FileNameExtensionFilter("*.JPG,*.JPEG,*.GIF,*.PNG", "jpg","png", "gif","jpeg");



    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel JP_Aux;
    private com.toedter.calendar.JDateChooser jDateChooser5;
    private javax.swing.JLabel jLB_Fotografia;
    private javax.swing.JLabel jLabel43;
    private javax.swing.JLabel jLabel44;
    private javax.swing.JLabel jLabel45;
    private javax.swing.JLabel jLabel85;
    private javax.swing.JLabel jLabel86;
    private javax.swing.JLabel jLabel87;
    private javax.swing.JLabel jLabel88;
    private javax.swing.JLabel jLabel89;
    private javax.swing.JLabel jLabel90;
    private javax.swing.JLabel jLabel91;
    private javax.swing.JLabel jLabel92;
    private javax.swing.JLabel jLabel93;
    private javax.swing.JLabel jLabel94;
    private javax.swing.JLabel jLabel95;
    private javax.swing.JLabel jLabel96;
    private javax.swing.JLabel jLabel97;
    private javax.swing.JLabel jLabel98;
    private javax.swing.JLabel jLabel99;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JPanel jP_GradTit;
    private javax.swing.JPanel jP_d_lalorales;
    private javax.swing.JPanel jP_d_personales;
    private javax.swing.JPanel jP_miembro;
    private javax.swing.JPanel jP_pregrado;
    private javax.swing.JScrollPane jSP_d_academicos;
    private javax.swing.JSeparator jS_1;
    private javax.swing.JSeparator jS_2;
    private javax.swing.JSeparator jSeparator13;
    private javax.swing.JSeparator jSeparator14;
    private javax.swing.JSeparator jSeparator16;
    private javax.swing.JSeparator jSeparator17;
    private javax.swing.JTabbedPane jTP_Datos;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField33;
    private javax.swing.JTextField jTextField75;
    private javax.swing.JTextField jTextField76;
    private javax.swing.JTextField jTextField77;
    private javax.swing.JTextField jTextField78;
    private javax.swing.JTextField jTextField79;
    private javax.swing.JTextField jTextField80;
    private javax.swing.JTextField jTextField81;
    private javax.swing.JTextField jTextField82;
    private javax.swing.JTextField jTextField83;
    private javax.swing.JTextField jTextField84;
    private javax.swing.JTextField jTextField85;
    private javax.swing.JTextField jTextField86;
    private javax.swing.JTextField jTextField87;
    private javax.swing.JTextField jTextField88;
    private javax.swing.JTextField jTextField89;
    private javax.swing.JButton jbt_actualizar;
    private javax.swing.JButton jbt_c_foto;
    private javax.swing.JButton jbt_salvar;
    private javax.swing.JComboBox jcb_e_civil;
    private javax.swing.JComboBox jcb_sexo;
    private javax.swing.JComboBox jcb_t_miembro;
    private com.toedter.calendar.JDateChooser jdc_f_ingreso;
    private com.toedter.calendar.JDateChooser jdc_f_nac;
    private javax.swing.JLabel jlb_ap_materno;
    private javax.swing.JLabel jlb_ap_paterno;
    private javax.swing.JLabel jlb_cod;
    private javax.swing.JLabel jlb_depart;
    private javax.swing.JLabel jlb_distrito;
    private javax.swing.JLabel jlb_e_civil;
    private javax.swing.JLabel jlb_escuela;
    private javax.swing.JLabel jlb_f_ingreso;
    private javax.swing.JLabel jlb_f_nac;
    private javax.swing.JLabel jlb_fac;
    private javax.swing.JLabel jlb_fecha_act;
    private javax.swing.JLabel jlb_mail;
    private javax.swing.JLabel jlb_n_membresia;
    private javax.swing.JLabel jlb_nombre;
    private javax.swing.JLabel jlb_prov;
    private javax.swing.JLabel jlb_sexo;
    private javax.swing.JLabel jlb_t_miembro;
    private javax.swing.JLabel jlb_tel_casa;
    private javax.swing.JLabel jlb_tel_movil;
    private javax.swing.JLabel jlb_tel_tra;
    private javax.swing.JTextField jtf_ap_materno;
    private javax.swing.JTextField jtf_ap_paterno;
    private javax.swing.JTextField jtf_c_foto;
    private javax.swing.JTextField jtf_depart;
    private javax.swing.JTextField jtf_distrito;
    private javax.swing.JTextField jtf_escuela;
    private javax.swing.JTextField jtf_fac;
    private javax.swing.JTextField jtf_mail;
    private javax.swing.JTextField jtf_n_membresia;
    private javax.swing.JTextField jtf_nombre;
    private javax.swing.JTextField jtf_prov;
    private javax.swing.JTextField jtf_tel_casa;
    private javax.swing.JTextField jtf_tel_movil;
    private javax.swing.JTextField jtf_tel_tra;
    private javax.swing.JTextField jtx_cod;
    // End of variables declaration//GEN-END:variables

}
